package tw.com.hitevision.whiteboard.android.stateFile;

import java.util.ArrayList;
import java.util.List;

import tw.com.hitevision.whiteboard.android.render.Line;

public class LineStateFile extends BaseStateFile {
    private List<Line.DiffPoint> points;
    private float thickness;
    private long oldId;
//    private Long followingStickynoteId;

//    public LineStateFile(Line line, List<Line.DiffPoint> points, float thickness, long oldId, Long followingStickynoteId) {
    public LineStateFile(Line line, List<Line.DiffPoint> points, float thickness, long oldId) {
        super(line);
        this.points = new ArrayList<>(points);
        this.thickness = thickness;
        this.oldId = oldId;
//        this.followingStickynoteId = followingStickynoteId;
    }

    public void setPoints(List<Line.DiffPoint> points) {
        this.points = new ArrayList<>(points);
    }

    public List<Line.DiffPoint> getPoints() {
        return points;
    }

    public void setThickness(float thickness) {
        this.thickness = thickness;
    }

    public float getThickness() {
        return thickness;
    }

    public long getOldId() {
        return oldId;
    }

    public void setOldId(long oldId) {
        this.oldId = oldId;
    }

//    public void setFollowingStickynoteId(long followingStickynoteId) {
//        this.followingStickynoteId = followingStickynoteId;
//    }
//
//    public Long getFollowingStickynoteId() {
//        return followingStickynoteId;
//    }
}
